<?php $this->_extends('_layouts/newblank_layout'); ?>

<?php $this->_block('title'); ?> - 系统日志<?php $this->_endblock(); ?>
<?php $this->_block('conpno'); ?><?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>

	<div id="getting-started">
		<?php $this->_element('searchsys_simple',array('form'=>$form)); ?>
		
		<table cellspacing="0" cellpadding="0">
			<tr>
				<th class="head" width="35">序号</th><th class="head" width="80">日期</th><th class="head" width="35">事件ID</th><th class="head" width="80">类型</th><th class="head">来源</th><th class="head">详细内容</th><th class="head" width="70">操作</th>							
			</tr>
		
		<?php foreach ($group as $s): ?>
		<tr><td><?php echo $s->id;?></td><td><?php echo $s->time;?></td><td><?php echo $s->logid;?></td><td><?php echo iconv("gb2312//TRANSLIT","utf-8",$s->sztype);?></td><td><?php echo $s->szsource;?></td><td><?php echo iconv("gb2312//TRANSLIT","utf-8",$s->szdesc);?></td><td><a href="<?php echo url('default::systemlog/details', array('tableid' => $s->id)); ?>">详细内容</a></td></tr>
		<?php endforeach; ?>
		</table>

      <div style="width:100%;height:50px;line-height:50px;"><center class="pagestr"><input id="startd" type="hidden" value="<?php echo $startd;?>"><input id="endd" type="hidden" value="<?php echo $endd;?>"><input id="macs" type="hidden" value="<?php echo $macs;?>">
       共有 <font color="Red"><?php echo $pager['record_count'];?></font> 条记录,分为 <font color="Red"><?php echo $pager['page_count'];?></font> 页显示,当前第 <font color="Red"><?php echo $pager['current'];?></font>页,每页 <font color="Red"><?php echo $pager['page_size'];?></font> 条<?php echo $pagestr; ?></center></div>

	</div>

<?php $this->_endblock('contents'); ?>